.box(@width:1210px,@height:auto,@margin:0 auto,@backgorund:#fff){
    height: @height;
    width: @width;
    margin: @margin;
    background: @backgorund;
    overflow: hidden;
}
@color:#E4393C;
@border:1px solid #DDDDDD;

//商品热卖、尺寸、品牌挑选开始
#wai-kuang{
    width: 1210px;
    height: auto;
    overflow: hidden;
    margin: 0 auto 10px;
    .re-mai{
        width: 1210px;
        height: 152px;
        background: #f1f1f1;
//      左边小图标
        .kuang-zuo{
            width: 80px;
            height: 152px;
            position: relative;
            float: left;
                .tui-jian{
                display: block;
                width: 45px;
                height: 80px;
                position: absolute;
                left: 20px;
                background: url(../../img/shang-ping/0.png) no-repeat;
                b{
                    color: #F60;
                    font-size: 14px;
                    display: block;
                    margin-left: 5px;
                    margin-top: 20px;
                }
            }
        }
        ul{
            padding: 10px;
            li{
                margin-top: 10px;
            }
        }
    }
//  左边小图标结束
//  商品开始
    .shang-ping-qiang{
        width: 286px;
        height: 122px;
        float: left;
        background: #FFFFFF;
        margin-top: 15px;
        margin-right: 15px;;
        position: relative;
        a{
            img{
                margin: 8px;
            }
            &.title{
                position: absolute;
                top: 21px;
                left: 118px;
                line-height:19px;
                &:hover{
                    text-decoration: underline;
                }
            }
            &.an-liu{
                display: block;
                width: 74px;
                height: 23px;
                border: 1px solid #E4E4E4;
                line-height: 23px;
                text-align: center;
                border-radius: 4px;
                background: #F4F4F4;
                color: #666666;
                position: absolute;
                left: 120px;
                top: 84px;
                &:hover{
                    box-shadow:0px 2px 2px 0px #CCCCCC;
                }
            }
        }
        p{
            position: absolute;
            top: 65px;
            left: 120px;
            strong{
                color: #E4393C;
            }
        }
    }
//  商品结束
//右边小图标开始
    .kuang-you{
        width: 66px;
        height: 152px;
        position: relative;
        float: left;
         .tui-jian{
                display: block;
                width: 45px;
                height: 80px;
                position: absolute;
                left: 10px;
                background: url(../../img/shang-ping/0.png) no-repeat;
                b{
                    color: #F60;
                    font-size: 14px;
                    display: block;
                    margin-left: 5px;
                    margin-top: 20px;
                }
            }
    }
//  右边小图标结束

}
//商品热卖、尺寸、品牌挑选结束

//面包
.mian-bao-nav{
    .box(@margin:0 auto 10px auto;);
    ul{
        span{
            float: left;
            font-size: 15px;
            margin-top: 8px;
            font-family: simsun;
            margin-left: 8px;
            margin-right: 8px;
        }
        li{
            float: left;
            margin-right: 5px;
            line-height: auto;
            &.biao-ti{
                 a{
                    font-size: 18px;
                    font-weight: bold;
                    font-family: "微软雅黑";
                    color:#000000;
                    &:hover{
                        color: @color;
                    }
                }
            }
           &.border{
               border: 1px solid #999;
               margin-top: 2px;
               padding: 3px 5px 3px 5px;
               b{
                   display: block;
                   width: 15px;
                   height: 5px;
                   margin-top: 5px;
                   float: right;
                   line-height: 0px;
                   overflow: hidden;
                   font-size: 15px;
               }
           }
        }
    }
}
//面包结束

//分类开始
.fei-lei{
    .box();
    ul.big-box{
        .box(@width:100%);
        li{
            .box(@width:100%);
            //标题
            &.title{
                border: none;
                padding-left: 10px;
                .box(@height:34px,@backgorund:#F1F1F1);
                line-height: 34px;
                border: @border;
                border-left: none;
                border-right: none;
                span{
                    color: @color;
                    font-weight: bold;
                    font-size: 14px;
                }
                b{
                    font-size: 14px;
                    margin-left: 5px;
                }
                s{
                    margin-left: 5px;
                    font-style: normal;
                }
            }
           //分类开始
            &.xiang-qing{
                .box(@width:100%);
                .fen-lei-bg{
                    border: 2px solid rgba(255,255,255,0);
                    border-bottom: @border;
                    height: auto;
                    overflow: auto;
                    .left{
                        width: 110px;
                        padding: 8px;
                        float: left;
                    }
                    .center{
                        background: #fff;
                        width: 1000px;
//                      border: @border;
                        float: left;
                        ul{
                            padding: 8px 8px 0px 8px;
                            width: 1064px;
                            position: relative;
                            li{
                                width: 140px;
                                float: left;
                                margin-bottom: 8px;
                                a{
                                    color: #005AA0;
                                    &:hover{
                                        color: @color;
                                    }
                                }
                            }
                            .an-liu{
                                width: 140px;
                                position: absolute;
                                top: 5px;
                                right: 0;
                               a{
                                   float: left;
                                    b{
                                        float: left;
                                        line-height: 23px;
                                        margin-right: 3px;
                                    }
                                    #xia-la{
                                        float: left;
                                        display: block;
                                        width: 20px;
                                        height: 20px;
                                        margin-right: 15px;
                                        background: url(../../img/listimage/search.ele.png) no-repeat 3px 6px;
                                        border: @border;
                                    }
                                    &.duo-xuan{
                                        line-height: 20px;
                                        float: left;
                                        margin-left: 10px;
                                        border: @border;
                                        position: absolute;
                                        right: 0;
                                        top: 0;
                                        margin-right: 15px;
                                        i{
                                            display: block;
                                            width: 20px;
                                            height: 20px;
                                            background: url(../../img/listimage/search.ele.png) no-repeat 3px -64px;
                                            float: left;
                                        }
                                        span{
                                            margin-right: 5px;
                                        }
                                    }
                               }
                            }
                        }
                    }
                    
                    //这里是给js加效果的
                    &.xuan-zhong{
                        width: 1206px;
                        border: 2px solid #EDD28B;
                        background: #FFFDEE;
                    }
                }
            }
        }
    }
}

//更多选项

    .zhan-kai{
        position: relative;
        z-index: 888;
        text-align: center;
        line-height: 25px;
        border: @border;
        border-top:none;
        .box(@width:281px,@margin:-1px auto 0 auto);
    }


//列表页
.list{
    .box(@margin:10px auto 20px auto);
   .left{
         .box(@width:190px);
        padding: 8px;
        border: @border;
        float: left;
        h3{
            color: #000000;
            font-family: "微软雅黑";
            font-size: 14px;
        }
        ul{
            li{
                img{
                    display: block;
                    margin: 0 auto;
                }
                span{
                    display: block;
                    height: 30px;
                    overflow: hidden;
                    color: #666666;
                    margin: 10px 0 10px 0;
                    &:hover{
                        color: @color;
                        text-decoration: underline;
                    }
                }
                strong{
                    display: block;
                    color: @color;
                    font-size: 14px;
                }
                b{
                    display: block;
                    margin-top: 5px;
                    font-weight: normal;
                }
            }
        }
   }
// 右边
   .right{
       .box(@width:990px);
       float: right;
       .jian-suo{
           overflow: hidden;
           line-height: 20px;
           padding: 6px 8px;
           background: #F1F1F1;
           border-top: @border;
           a{
               float: left;
               padding: 2px 10px;
               border: @border;
               &.default{
                   background: @color;
                   color: #FFFFFF;
                   border: 1px solid @color;
               }
               &:hover{
                   border: 1px solid @color;
               }
           }
           .page{
               float: right;
               span{
                   float: left;
                   margin-top: 3px;
                   margin-right: 10px;
               }
               a{
                   width: 23px;
                   height: 23px;
                   font-family: simsun;
                   font-size: 16px;
                   line-height: 23px;
                   text-align: center;
                   &.xia-yi-ye{
                       background: #FFFFFF;
                   }
                   &:hover{
                       border: @border;
                       color: #000000;
                   }
               }
           }
       }
        //收货地址
        .shou-huo{
//      .box(@backgorund:#F9F9F9);
            background:#F9F9F9;
            border-bottom: @border;
            border-top: @border;
            line-height: 20px;
            padding: 6px 8px;
            height: 25px;
            span{
                float: left;
                display: block;
            }
            .di-qu{
                height: 24px;
                width: 125px;
                float: left;
                position: relative;
//          margin-left: 45px;
                padding: 0 10px 0 10px;
                p{
                    height: 24px;
                    width: 125px;
                    padding: 0 10px 0 10px;
                    background: #FFFFFF;
                    line-height: 24px;
                    position: relative;
                    border: @border;
                    z-index: 2000;
                    &.hover{
                        border-bottom: 2px solid #FFFFFF;
                    }
                }
                
                i{
                    display: block;
                    width: 18px;
                    height: 20px;
                    position: absolute;
                    right: -10px;
                    top: 2px;
                    background: url(../../img/listimage/search.ele.png) 0px 8px;
                }
            }
            .hide-box{
                width: 422px;
                height: 308px;
                margin-top: -2px;
                border: @border;
                background: #FFFFFF;
                box-shadow: 4px 4px 5px #999;
                position: absolute;
                left: -45px;
                display: none;
            }
            .sai-xuan{
                float: left;
                margin-left: 25px;
                a{
                    float: left;
                    margin-top: 3px;
                    margin-left: 15px;
                    i{
                        display: block;
                        width: 14px;
                        height: 14px;
                        float: left;
                        border: @border;
                        margin-top: 2px;
                        &.gou{
                            margin-top: 2px;
                            width: 14px;
                            height: 14px;
                            background: url(../../img/listimage/search.ele.png) no-repeat  0px -107px;
                            border: 1px solid @color;
                        }
                    }
                    span{
                        margin-left: 5px;
                        display: block;
                        float: left;
                    }
                    &:hover{
                        span{
                            color: @color;
                        }
                        i{
                            border: 1px solid @color;
                        }
                    }
                }
            }
        }
        //收货地址结束
      .chan-ping-lie-biao{
          .box(@margin:15px auto 0 auto);
          height: auto;
          overflow: hidden;
          ul{
              li{
                  width: 218px;
                  height: 382px;
                  float: left;
                  margin-bottom: 15px;
                  margin-right: 10px;
                  padding: 30px 10px 10px;
                  border: 1px solid #FFFFFF;
                  &:hover{
                      border: @border;
                      box-shadow: 0px 0px 2px 2px #F8F8F8;
                  }
                  a{
                      display: block;
                      float: left;
                      margin: 5px 0 5px 0;
                      img{
                          display: block;
                          margin: 0 auto;
                      }
                      span,i{
                          display: block;
                      }
                      span{
                          margin-top: 2px;
                          height: 16px;
                          overflow: hidden;
                          &:hover{
                              color: @color;
                          }
                      }
                      i{
                          font-style: normal;
                          color: #FFAA71;
                          height: 16px;
                          overflow: hidden;
                          margin-top: 2px;
                      }
                  }
                  p{
                      strong{
                          color: @color;
                          font-size: 18px;
                          float: left;
                      }
                      i.pic{
                          float: left;
                          display: block;
                          width: 16px;
                          margin-left: 6px;
                          height: 16px;
                          background: url(../../img/listimage/search.service.icons.png) no-repeat;
                      }
                      &.ping-jia{
                          float: left;
                          color: #A7A7A7;
                          margin: 10px 0 10px 0;
                          a{
                              float: none;
                              display: inline;
                              color: #005AA0;
                              font-weight: bold;
                          }
                      }
                  }
                  .dui-bi{
                      width: 100%;
                      height: 27px;
                      float: left;
                      a{
                          float: left;
                          padding: 5px 5px;
                          border: @border;
                          border-right: none;
                          &.last{
                              border-right: @border;
                          }
                          em{
                              display: block;
                              width: 14px;
                              height: 14px;
                              float: left;
                              margin-right: 5px;
                              &.dui-bi-ico{
                                  border: @border;
                              }
                              &.guan-zhu-ico{
                                  width: 16px;
                                  height: 16px;
                                  background: url(../../img/listimage/search.ele.png) no-repeat 0 -415px;
                              }
                              &.gou-wu-ico{
                                  width: 20px;
                                  height: 16px;
                                  background: url(../../img/listimage/search.ele.png) no-repeat 0 -273px;
                              }
                          }
                          
                      }
                  }
              }
              //这里是li结束
          }
      }
      .hd-page{
          .box();
          a{
              float: left;
              padding: 10px 14px;
              background: #F7F7F7;
              color: #333;
              margin-right: 10px;
              border: @border;
          }
      }
   }
  //右边结束
}





